projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0e1774
)
Avoid repeated warnings while restoring desktop
author
Kaushal Modi
<kaushal.modi@gmail.com>
Fri, 22 Jul 2016 18:48:12 +0000
(14:48 -0400)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Fri, 22 Jul 2016 18:48:12 +0000
(14:48 -0400)
* lisp/desktop.el (desktop-restore-file-buffer): Do not print warnings
when files are being opened during desktop restore.
lisp/desktop.el
patch
|
blob
|
history
diff --git
a/lisp/desktop.el
b/lisp/desktop.el
index 1f460b7a3ede4f9537f5a530cd8009300e225544..df4ff551c2dd1f63e76fd6cbfee565a7c0748223 100644
(file)
--- a/
lisp/desktop.el
+++ b/
lisp/desktop.el
@@
-1402,7
+1402,7
@@
after that many seconds of idle time."
(or coding-system-for-read
(cdr (assq 'buffer-file-coding-system
desktop-buffer-locals))))
- (buf (find-file-noselect buffer-filename)))
+ (buf (find-file-noselect buffer-filename
:nowarn
)))
(condition-case nil
(switch-to-buffer buf)
(error (pop-to-buffer buf)))